IBM Books

MRS V3.3 Protocol Config Ref Vol 2


Configuring and Monitoring Neighbor Discovery Protocol (NDP)

Configuration for NDP is done for each interface. This chapter describes how to use the NDP configuration and operating commands and includes the following sections:


Accessing the NDP Configuration Environment

Use the following procedure to access the NDP configuration process.

  1. At the OPCON prompt, enter talk 6. (For more detail on this command, refer to The OPCON Process and Commands in the Software User's Guide.) For example:
        * talk 6
        Config>
     
    

    After you enter the talk 6 command, the CONFIG prompt (Config>) displays on the terminal. If the prompt does not appear when you first enter configuration, press Return again.

  2. At the CONFIG prompt, enter the p ndp command to get to the NDP6 Config> prompt.

NDP Configuration Commands

To configure NDP, enter the commands at the NDP6 Config> prompt.


Table 70. NDP Configuration Command Summary
 Command   Function 
? (Help) Displays all the commands available for this command level or lists the options for specific commands (if available). See "Getting Help".
 add   Adds a router advertisement or parameters. 
 change   Changes a router advertisement or parameters. 
 delete   Deletes a router advertisement or parameters. 
 disable   Disables router advertisement. 
 enable   Enables router advertisement. 
 list   Lists the configuration. 
 set   Sets the DHCP Hop Count. 
Exit Returns you to the previous command level. See "Exiting a Lower Level Environment".

Add

Use the add command to add a router advertisement.

add
ra ...
dhcp-server

ra
Adds a router advertisement.

add router advertisement on which interface
Specifies the interface to which the router advertisement is to be added.

Valid Values: A numeric value identifying a network interface

Default Value: 0

Managed address configuration (stateful)
Specifies whether hosts use the administered protocol for address autoconfiguration in addition to addresses autoconfigured using stateless autoconfiguration.

Valid Values: yes or no

Default Value: n

If you specify yes, the DHCPv6 relay agent allows hosts to use local link addresses at address configuration time, even though the DHCPv6 server is not on the same link.

Other stateful configuration
Specifies whether hosts use the administered protocol for autoconfiguration of other (non-address) information.

Valid Values: yes or no

Default Value: no

Include link layer address with router advertisement
Specifies whether to include the link layer address in the router advertisement. A router may omit the link layer address in the router advertisement in order to enable inbound load sharing across multiple link layer addresses.

Valid Values: yes or no

Default Value: yes

Hop limit
Specifies the default value to be placed in the hop limit field in the router advertisement messages sent by the router. This value is used in the hop count field of the IP header for outgoing IP packets.

Valid Values: 0 - 255, where 0 means unspecified by this router

Default Value: 0

Maximum router advertisement interval
Specifies the maximum time, in seconds, allowed between sending unsolicited multicast router advertisements from the interface.

Valid Values: 4 - 1800 seconds

Default Value: 600

Minimum router advertisement interval
Specifies the minimum time, in seconds, allowed between sending unsolicited multicast router advertisements from the interface.

Valid Values: 3 - (.75 * Maximum router advertisement interval)

Default Value: Maximum router advertisement interval/3

Router lifetime
Specifies the time, in seconds, that the router is to be used as a default router.

Valid Values: 0 or 4 - 9000 seconds, where 0 indicates that the router is not being used as a default router

Default Value: (3 * Maximum router advertisement interval)

Reachable Time
Specifies the time, in seconds, that a node assumes a neighbor is reachable after having received a reachability confirmation.

Valid Values: 0 - 3 600 seconds, where 0 indicates unspecified by this router

Default Value: 0

Retransmit timer
Specifies the time, in seconds, between retransmitted neighbor solicitation messages.

Valid Values: 0 - 3 600 seconds, where 0 indicates unspecified by this router

Default Value: 0

link-mtu
Specifies the value to be placed in the MTU options sent by the router. This value should be sent on links that have a variable MTU and may be sent on other links.

Valid Values: A 32-bit unsigned integer, where 0 indicates that no MTU options are sent

Default Value: 0

dhcp-server
Adds a DHCP server.

server addresses
Specifies a list of unicast IPv6 server addresses to be used to forward the initial DHCPv6 solicitation message. If no addresses are specified, the DCHPv6 relay agent sends the packet to the DHCP servers multicast address.
Note:If you use the multicast servers address, you must enable multicast routing in the box by enabling and configuring Protocol Independent Multicast (PIM). See "Configuring and Monitoring Protocol Independent Multicast Routing Protocol (PIM)" for information.

Valid Values: Any valid IPv6 address

Default Value: None

Change

Use the change command to change a route advertisement or prefix.

Syntax:

change
ra ...
prefix ...

ra
Changes a configured route advertisement.See "Add" for a description of the parameters associated with the change ra command.

prefix
Changes a configured prefix. Prefixes are added or deleted as you modify the IPv6 address configuration. See "Add" for more information about adding IPv6 addresses.

To add a prefix:

Config> p IPv6
IPv6 user configuration
IPv6 config> add addr
Which net is this address for [0]?  5
New address []? 2002:9::6204
Prefix length must be between 8 and 128 [128]? 64
IPv6 config> exit
 

To change a prefix:

Config> p ndp6
Neighbor Discovery for IPv6 user configuration
NDP6 Config> change prefix
Change Prefix Information option for which Prefix address []? 2002:2::
Use this prefix for on-link determination? [Yes]:
Use this prefix for autonomous address configuration? [Yes]: n
Valid lifetime for Prefix [2592000]? ffffffff
Decrement the Valid Lifetime in real time? [No]:
Preferred Lifetime for Prefix [604800]? ffffffff
Decrement the Preferred Lifetime in real time? [No]:
 

Change prefix information options for which prefix address?
Specifies the IPv6 address prefix to be placed in the prefix information option in router advertisements sent from the interface.

Valid Values: Any valid IPv6 address

Default Value: None

Use this prefix for on-link determination?
Specifies the value to be placed in the on-link flag in the prefix information option. When set to yes, the prefix can be used for on-link determination. When set to no, the advertisement will make no statement about on-link or off-link properties of the prefix.

Valid Values: yes or no

Default Value: yes

Use this prefix for autonomous address configuration?
Specifies the value to be placed in the autonomous address configuration flag in the prefix information option. When set to yes, the prefix can be used for autonomous address configuration.

Valid Values: yes or no

Default Value: yes

Valid Lifetime for Prefix?
Specifies the amount of time, in seconds, to be placed in the valid lifetime in the prefix information option. This value represents the length of time, relative to the time that the packet is sent, that the prefix is valid for the purpose of on-link determination.

Valid Values: A 32-bit unsigned integer, where X'FFFFFFFF' represents unlimited lifetime

Default Value: 259200 (which is 30 days)

Decrement the Valid Lifetime in real time?
Specifies whether the Valid Lifetime decrements in real time, resulting in a lifetime of zero at the specified time in the future OR is fixed (stays the same in consecutive router advertisements).

Valid Values: yes or no

Default Value: no

Preferred lifetime for prefix
Specifies the amount of time, in seconds, to be placed in the preferred lifetime in the prefix information option. This value represents the length of time, relative to the time that the packet is sent, that addresses generated from the prefix via stateless address autoconfiguration remain preferred.

Valid Values: A 32-bit unsigned integer, where X'FFFFFFFF' represents unlimited lifetime

Default Value: 604800

Decrement the Preferred Lifetime in real time?
Specifies whether the Preferred Lifetime decrements in real time, resulting in a lifetime of zero at the specified time in the future, or is fixed (stays the same in consecutive router advertisements).

Valid Values: yes or no

Default Value: no

Delete

Use the delete command to remove a configured route advertisement.

Syntax:

delete
ra
dhcp-server

Disable

Use the disable command to disable route advertisement.

Syntax:

disable
ra
dhcp-relay

ra
Disables route advertisement.

dhcp-relay
Disables the DHCPv6 relay agent.

Enable

Use the enable command to enable route advertisement.

Syntax:

enable
ra
dhcp-relay

ra
Enables route advertisement.

dhcp-relay
Enables DHCPv6 relay agent.

List

Use the list command to display the NDP configuration.

Syntax:

list
dhcp
ndp6 configuration
prefix
ra
Example:
 NDP>list dhcp
 
DHCPv6 Relay Agent
------------------
State           Hopcount
DISABLED            4
NDP>
NDP config>list ndp6
 
NDP config>list ra
 
NDP config>list prefix
NDP config>

Set

Use the set command to set the DHCP hop count.

Syntax:

set
dhcp-hopcount

dhcp-hopcount
Specifies the number of hops to be used in relaying DHCPv6 packets.

Valid Values:

Default Value: 4

Example:
 NDP6 Config>set dhcp-hopcount
 Hop Count [4]?
 NDP6 Config>
 

Accessing the NDP Monitoring Environment

Use the following procedure to access the NDP monitoring commands. This process gives you access to the NDP monitoring process.

  1. At the OPCON prompt, enter talk 5. (For more detail on this command, refer to "The OPCON Process and Commands" in Software User's Guide.) For example:
        * talk 5
        +
    

    After you enter the talk 5 command, the GWCON prompt (+) displays on the terminal. If the prompt does not appear when you first enter configuration, press Return again.

  2. At the + prompt, enter the p ndp command to get you to the NDP> prompt.

    Example:

        + p ndp
        NDP>
     
    

NDP Monitoring Commands

This section describes the NDP monitoring commands.

Table 71. NDP Monitoring Command Summary
 Command   Function 
? (Help) Displays all the commands available for this command level or lists the options for specific commands (if available). See "Getting Help".
 dhcpv6-relay   Sets DHCPv6-relay counters and parameters. 
 dump   Displays routing tables. 
 list   Displays the configuration. 
 ping6   Dynamically pings an IPv6 address. 
Exit Returns you to the previous command level. See "Exiting a Lower Level Environment".

DHCPv6-Relay

Use the dhcpv6-relay command to set DHCPv6-Relay counters and parameters.

Syntax:

dhcpv6-relay
counters
parameters

counters

parameters

Example:

Dump

See "Dump routing tables" for information about the dump command.

List

Use the list command to display the configuration. Only interfaces with RA configured are displayed even though a prefix may exist in the prefix list on other interfaces as a result of IPv6 address configuration.

Syntax:

list
dhcpv6-relay
dump routing tables
ndp6 parameters
ping6

Example:

 
NDP>list dhcp
 
DHCPv6 Relay Agent
------------------
State           Hopcount
DISABLED            4
NDP>
NDP>list ndp6
 
Router Advertisement for Interface 0 (PPP/0):
                      Hop    RA Interval  Rtr       Reach    Retrans
  State      M  O LLA Limit   Min - Max   Lifetime  Time     Timer    MTU
  ENABLED    N  N  Y  0       200 - 600   1800      0        0        0
 
  Advertised Prefixes:
  Prefix/Length                               On-Link Auto Valid/Preferred Life
 
 

Ping6

See "Ping6" for details about the ping6 command.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]